<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">

<p>
	Check the basic mail functionality by entering your email address here and clicking the button.
	You should then receive a test email from "{senderEmailAddress}".
</p>

<p>
	If no email is received, your setup might be broken. Check the following:
</p>
<ul>
	<li>
		If <code>$GLOBALS['TYPO3_CONF_VARS']['MAIL']['transport']</code> is set to mail or sendmail, TYPO3 tries to use
		PHPs internal mail() function. There might be no such program installed.
	</li>
	<li>
		If <code>$GLOBALS['TYPO3_CONF_VARS']['MAIL']['transport']</code> is set to smtp, check if the data given in
		<code>$GLOBALS['TYPO3_CONF_VARS']['MAIL']['transport_smtp_*']</code> is valid. Wrong data here results in faulty
		requests to the mail server. You can find the resulting messages in the mail server log.
	</li>
</ul>

<div class="t3js-module-content" data-mail-test-token="{mailTestToken}">
	<div class="t3js-mailTest-output"></div>

	<form id="t3js-mailTest-form">
		<div class="form-group">
			<label for="t3-install-checkmail">Email address:</label>
			<input
				id="t3-install-checkmail"
				type="email"
				class="t3-install-form-input-text form-control t3js-mailTest-email"
				required
			/>
		</div>
		<button
			class="btn btn-default"
			type="submit"
		>
			Send test mail
		</button>
	</form>
</div>

</html>
